const mongoose = require('mongoose')
// 设置集合中文档的属性以及属性值的类型
const MovieSchema = new mongoose.Schema({
    name: String,
    direct: String
})

const MovieModel = mongoose.model('movies', MovieSchema)


module.exports = MovieModel
